package com.CmJava;

import com.CmJava.tomcat.Server.service.Service;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class Main {
    public static void main(String[] args) throws IOException {
        //创建tomcat的service，会执行初始化
        // 并且内部的connector和container组件及其子组件都会初始化
        Service service = new Service();
        //开启服务器
        service.start();
    }
}
